package com.arpa.wms.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.arpa.wms.domain.entity.GoodsUnitConversion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 预打包明细关联预打包分配信息
 * </p>
 *
 * @author rfwang
 * @since 2021年7月5日
 */
@Data
@ApiModel(value="PrepackagedItemWithDistributionVO对象", description="预打包明细关联预打包分配信息")
public class PrepackagedItemWithDistributionVO extends PrepackagedDistributionVO implements Serializable {

    @ApiModelProperty(value = "商品编码code")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "单位")
    private String goodsUnit;

    @ApiModelProperty(value = "单位名称")
    private String goodsUnitName;

    @ApiModelProperty(value = "单包裹组合数量")
    private BigDecimal combinationQuantity;

    @ApiModelProperty(value = "明细总数量")
    private BigDecimal totalQuantity;

    @ApiModelProperty(value = "可用库存")
    private BigDecimal availableStockQuantity;

    @ApiModelProperty(value = "库存缺货数量")
    private BigDecimal stockOutQuantity;

    @ApiModelProperty(value = "取消数量")
    private BigDecimal cancelQuantity = BigDecimal.ZERO;;

    @ApiModelProperty(value = "库位名称")
    private String locationName;

    @ApiModelProperty(value = "商品规格")
    private String spec;

    @ApiModelProperty(value = "包裹数量")
    private Integer planPackQuantity;

    @ApiModelProperty(value = "打包数量")
    private Integer packQuantity;

    @ApiModelProperty(value = "待分配数量")
    private BigDecimal notDistributionQuantity;

    @ApiModelProperty(value = "明细总分配数量")
    private BigDecimal totalDistributionQuantity;


}
